﻿<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="jdy" uri="http://www.qwe.com.cn/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>康养旅居宝</title>
	<jsp:include page="../common/common.jsp"/>
    <link rel="stylesheet" href="${path}/css/apart.css">
     
</head>
<body>
    <div class="main">
        <div class="apaimgs">
            <img src="${data.imgUrl}" alt="">
        </div>
        <div class="apatitle">
            <p>${data.title}</p>
           <c:if test="${data.ispktype!=1}">      <ul class="apatags">
           <c:forEach  items="${data.ptypename.split(',')}" var="z" >
           <li>${z}</li>
            </c:forEach>
                
        
            </ul>
            <p>${data.city}</p>
            <p>${data.houses}居/${data.square}平米/宜住${data.yzrs}人</p></c:if>
        </div>
        <div class="dateil">
          <c:if test="${data.ispktype!=1}">     <h4>产品详情</h4></c:if>
          <c:if test="${data.ispktype==1}">  <h4>权益介绍</h4> </c:if>
            <p class="text">${data.context}</p>
            
        </div>
     <!--   <div class="dateil">
            <h4>入住须知</h4>
            <p><span>入住时间:</span> ${data.rutime}</p>
            <p><span>退房时间:</span>${data.tuitime}</p>
            <p><span>接待时间:</span>${data.jietime}</p>
        </div> --> 
    </div>
    <ul class="buttom comfirm">
        <li class="call"><a href="tel:${data.mall.tel}">电话</a></li>
        <li class="price"><a href=""><!-- <s>原价：￥
       ${data.price}
        </s> -->价格：￥ <span>           
             ${data.reduceprice}
</span> </a></li>
        <li class="now"  onclick="opendak('${data.refund}')"><a >马上预定</a></li>
    </ul>
</body>


<script type="text/javascript" >

function opendak(da){
 if(da!=''&&da!=4){
	 location.href="${path}/cRateOrder/editdihPr/${data.id}.html";
 }else{
	// location.href="${path}/cRateOrder/editPr/${data.id}.html";

 }
}
</script>


</html>